feat(accounts): 新增 Plus 筛选并对齐 plus 的 429 冷却处理#58
Merged
james-6-23 merged 2 commits intojames-6-23:mainfrom Apr 9, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更说明
本次 PR 包含两部分改动:
Plus套餐筛选标签,筛选顺序调整为:全部 / Pro / Plus / Team / Freeplus账号触发 429 时的冷却判定逻辑,使其与Pro / Team等类型保持一致具体变更
planFilter类型,支持plusPlus标签Plus标签严格匹配plan_type === "plus"teamplus不纳入Plus标签,仍只会出现在“全部”中plus的 429 冷却逻辑,在无精确resets_at/resets_in_seconds时,改为按窗口响应头推断冷却时长plus冷却逻辑相关单元测试验证
npm run build通过go test ./proxy/...通过npm run typecheck通过已知基线问题:
npm run typecheck当前失败,报错位于frontend/src/pages/ApiReference.tsx:949影响范围
plus账号的 429 冷却策略